package com.ym.b2b.product.service;

import java.util.List;

import com.ym.b2b.commons.exception.BaseException;
import com.ym.b2b.product.sqlbean.EmBProductType;
import com.zc.commons.base.Result;

public interface EmBProductTypeService {

    /**
     * 分类目录
     * 
     * @Title: searchEmBProductType
     */
    List<EmBProductType> searchEmBProductType(EmBProductType emBProductType) throws BaseException;

    List<EmBProductType> searchLevelEmBProductType(EmBProductType emBProductType) throws BaseException;

    /**
     * 新增或删除 分类
     * 
     * @Title: saveOrUpdateEmBProductType
     */
    Result saveOrUpdateEmBProductType(EmBProductType emBProductType) throws BaseException;

    /**
     * 删除分类
     * 
     * @Title: deleteEmBProductType
     */
    void deleteEmBProductType(EmBProductType emBProductType) throws BaseException;

    Object showEmBproductTypeList(EmBProductType emBProductType) throws BaseException;

}
